package com.wx.wxpush.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
/**
 *
 * @author chentianfa
 * @date 2022/8/23
 * 工具类 统一返回结果
 */

@Getter
@AllArgsConstructor
public enum ResultCode {
    USERNAME_PASSWORD_ERROR(501,"用户名密码错误"),
    SUCCESS(200, "操作成功"),
    FAILED(2001, "响应失败"),
    VALIDATE_FAILED(2002, "参数校验失败"),
    ERROR(500, "未知错误");

    private Integer code;
    private String message;

}
